package com.woniuxy.mapper;

import com.woniuxy.entity.Appinfo;
import com.woniuxy.entity.AppinfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AppinfoMapper {
    long countByExample(AppinfoExample example);

    int deleteByExample(AppinfoExample example);

    int deleteByPrimaryKey(Integer appinfoId);

    int insert(Appinfo record);

    int insertSelective(Appinfo record);

    List<Appinfo> selectByExample(AppinfoExample example);

    Appinfo selectByPrimaryKey(Integer appinfoId);

    int updateByExampleSelective(@Param("record") Appinfo record, @Param("example") AppinfoExample example);

    int updateByExample(@Param("record") Appinfo record, @Param("example") AppinfoExample example);

    int updateByPrimaryKeySelective(Appinfo record);

    int updateByPrimaryKey(Appinfo record);

    //新增返回主键
    int insertAppoinfoReturnKey(Appinfo appinfo);
}